package com.usian;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

//允许向注册中心注册该服务，并可以获取其他服务的调用地址
//@EnableEurekaClient
//@SpringBootApplication
@EnableFeignClients//开启feign接口扫描
@SpringCloudApplication
//@EnableCircuitBreaker
public class ConsumerApp {
    public static void main(String[] args) {
        SpringApplication.run(ConsumerApp.class, args);
    }
}
